<form id="form" action="{:url('setting/api')}">
<table class="formtable">
    <tr>
        <th>腾讯位置Key:</th><td><input  class="input w300" type="text" name="qq_lbs_key" value="{$config.qq_lbs_key}" /></td>
    </tr>
    <tr><th></th>
        <td>
            <input type="submit" value="确定" class="button submit" />
            <input type="reset" value="重置" class="button button-blank" />
        </td>
    </tr>
</table>
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
})
</script>